<include file="Public/head"/>
<link href="__PUBLIC__/layui/css/layui.css" rel="stylesheet" type="text/css" />
<body class="no-skin">
<include file="Public/header"/>
<div class="main-container" id="main-container">
<style>
table th{
    font-size: 20px;
    color:#000;
}
table td{
    font-size: 18px;
    /*color:#000;*/
}
.ul li{
    float: left;
    margin:10px 50px;
}


</style>
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <include file="Public/sidebar"/>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs"/>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set"/>
                    <div class="row">
                    <div class="col-xs-12">
                    
                
                         <ul class="ul">          
                            <li><button class="layui-btn layui-btn-big layui-btn-normal">填寫申訴</button></li>
                            <!-- <li><button class="layui-btn layui-btn-big layui-btn-normal" onclick="fu()">绩效辅导表创建</button></li>
                            <li><button class="layui-btn layui-btn-big layui-btn-normal" onclick="mian()">绩效面谈表创建</button></li>
                            <li><button class="layui-btn layui-btn-big layui-btn-normal" onclick="zhou()">绩效周分享表创建</button></li> -->
                        </ul>
           

                        <div style="margin-top:5%;"></div>
                        <table class="table table-bordered" >
                            <thead>
                                <tr>
                                    <th class="center">序號</th>
                                    <th class="center">申訴時間</th>
                                    <th class="center">表格狀態</th>
                                    <th class="center" style="width:20%;">操作</th>
                                    
                                </tr>
                            </thead>
                            <tbody>
                             
                                <volist name="list" id="v">      
                                <tr>
                                    <td class="center">{$v.id}</td>
                                    <td class="center">{$v.time}</td>
                                    <?php if($v['type'] == 0): ?>
                                        <td class="center" style="color:#007bbb">未處理</td>
                                        <td class="center">
                                            <a href="{:U('xiang',array('id'=>$v['id'],'type'=>'1'))}" class="layui-btn layui-btn-normal layui-btn-radius">查看</a>
                                            <a href="{:U('xiang',array('id'=>$v['id'],'type'=>'2'))}" class="layui-btn layui-btn-danger layui-btn-radius">撤銷</a>
                                        </td>
                                    <?php else: ?>
                                        <?php if($v['type'] == 1): ?>
                                            <td class="center" style="color:#d9333f">已撤銷</td>
                                            <td class="center">
                                                <a href="{:U('xiang',array('id'=>$v['id'],'type'=>'1'))}" class="layui-btn layui-btn-normal layui-btn-radius">查看</a>
                                                
                                            </td>
                                        <?php else: ?>
                                            <?php if($v['type'] == 2): ?>
                                                <td class="center" style="color:#68be8d">已處理</td>
                                                <td class="center">
                                                    <a href="{:U('xiang',array('id'=>$v['id'],'type'=>'1'))}" class="layui-btn layui-btn-normal layui-btn-radius">查看</a>
                                                    
                                                </td>
                                            <?php endif ?>
                                        <?php endif ?>
                                    <?php endif ?>
                                    


                                    
                                                                   
                                                   
                                </tr>  
                                </volist>  
                               
                            </tbody>
                        </table>
                        <!-- </form> -->


                    </div>
                    </div>
                    
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <include file="Public/footer"/>

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
<script src="__PUBLIC__/qwadmin/js/date-time/bootstrap-datepicker.js"></script>
<script src="__PUBLIC__/qwadmin/js/function.js"></script>
<script src="__PUBLIC__/layer/layer.js"></script>
<script type="text/javascript">






</script>
</body>
</html>

 